<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">

<head>
    <th:block th:include="include :: header('修改市纪委监委信访移送件办理情况登记')" />
</head>

<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-templatetable5-edit">
            <h4 class="form-header h4">市纪委监委信访移送件办理情况登记</h4>
            <div class="row">
                <div class="col-sm-12">
                    <!-- <button type="button" class="btn btn-white btn-sm" onclick="addColumn()"><i class="fa fa-plus">
                            增加</i></button>
                    <button type="button" class="btn btn-white btn-sm" onclick="delColumn()"><i class="fa fa-minus">
                            删除</i></button> -->
                    <div class="col-sm-12 select-table table-bordered">
                        <table id="bootstrap-table"></table>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:src="@{/js/jquery.tmpl.js}"></script>
    <script th:inline="javascript">
        var prefix = ctx + "work/templatetable5";

        $(function () {
            var options = {
                data: [[${workTemplateTable5List}]],
                pagination: false,
                showSearch: false,
                showRefresh: false,
                showToggle: false,
                showColumns: false,
                sidePagination: "client",
                columns: [
                    [ {
                        field: 'val1',
                        title: '序号',
                        align: 'center',
                        valign: 'middle',
                        rowspan: 2,
                        formatter: function (value, row, index) {
                            return $.table.serialNumber(index);
                        }
                    }, {
                        field: 'val2',
                        title: '信访编号',
                        align: 'center',
                        valign: 'middle',
                        rowspan: 2,
                       
                    }, {
                        title: '反映人信息',
                        align: 'center',
                        colspan: 2
                    }, {
                        title: '被反映人信息',
                        align: 'center',
                        colspan: 3
                    }, {
                        field: 'val8',
                        title: '问题摘要',
                        align: 'center',
                        valign: 'middle',
                        rowspan: 2,
                       
                    }, {
                        field: 'val9',
                        title: '承办单位收件时间',
                        align: 'center',
                        valign: 'middle',
                        rowspan: 2,
                        
                    }, {
                        field: 'val10',
                        title: '办结日期',
                        align: 'center',
                        valign: 'middle',
                        rowspan: 2,
                       
                    }, {
                        field: 'val11',
                        title: '处置方式',
                        align: 'center',
                        valign: 'middle',
                        rowspan: 2,
                      
                    }, {
                        field: 'val12',
                        title: '属实程度',
                        align: 'center',
                        valign: 'middle',
                        rowspan: 2,
                       
                    }, {
                        field: 'val13',
                        title: '处理情况',
                        align: 'center',
                        valign: 'middle',
                        rowspan: 2,
                       
                    }, {
                        title: '了结批示情况 ',
                        align: 'center',
                        colspan: 3
                    }, {
                        field: 'val17',
                        title: '调查组成员',
                        align: 'center',
                        valign: 'middle',
                        rowspan: 2,
                       
                    }, {
                        field: 'val18',
                        title: '是否为实名举报',
                        align: 'center',
                        valign: 'middle',
                        rowspan: 2,
                        formatter: function (value, row, index) {
                            var data = [{ index: index, type: value }];
		                    return $("#selectRealName").tmpl(data).html();
                        }
                    }, {
                        title: '实名举报反馈情况',
                        align: 'center',
                        colspan: 4
                    }, {
                        field: 'val23',
                        title: '备注',
                        align: 'center',
                        valign: 'middle',
                        rowspan: 2,
                       
                    }],
                    [{
                        field: 'val3',
                        align: 'center',
                        title: '姓名',
                       
                    }, {
                        field: 'val4',
                        align: 'center',
                        title: '单位及联系方式',
                       
                    }, {
                        field: 'val5',
                        align: 'center',
                        title: '姓名',
                       
                    }, {
                        field: 'val6',
                        align: 'center',
                        title: '单位及职务',
                        
                    }, {
                        field: 'val7',
                        align: 'center',
                        title: '职级',
                       
                    }, {
                        field: 'val14',
                        align: 'center',
                        title: '批示领导',
                      
                    }, {
                        field: 'val15',
                        align: 'center',
                        title: '批示时间',
                      
                    }, {
                        field: 'val16',
                        align: 'center',
                        title: '批示内容',
                      
                    }, {
                        field: 'val19',
                        align: 'center',
                        title: '反馈时间',
                      
                    }, {
                        field: 'val20',
                        align: 'center',
                        title: '反馈方式',
                       
                    }, {
                        field: 'val21',
                        align: 'center',
                        title: '反映人意见',
                      
                    }, {
                        field: 'val22',
                        align: 'center',
                        title: '经办人员',
                       
                    }]
                ]
            };
            $.table.init(options);
        });

    </script>
</body>
</html>

<!-- 实名选举 -->
<script id="selectRealName" type="text/x-jquery-tmpl">
    <div>
        <select class='form-control' name='workTemplateTable5List[${index}].val18' readonly>
            <option value=""></option>
            <option value="0" {{if type==="0"}}selected{{/if}}>是</option>
            <option value="1" {{if type==="1"}}selected{{/if}}>否</option>
        </select>
    </div>
</script>